package com.zan.pattern.factory.static_factory;

/**
 * @Author Zan
 * @Create 2024/4/24 19:59
 * @Description : TODO(请用一句话描述该类的功能)
 * @ClassName: CoffeeStore
 */
public class CoffeeStore {

    public Coffee orderCoffee(String type) {

        Coffee coffee = SimpleCoffeeFactory.createCoffee(type);

        // 加调料
        coffee.addSugar();
        coffee.addMike();

        return coffee;
    }
}
